﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true"
    CodeFile="WIN23_2E.aspx.cs" Inherits="IFRS_WIN23_2E" %>
<%@ Register TagPrefix="cc1" Namespace="vsm.CustomControl" Assembly="vsm.CustomControl" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../Content/plugins/jquery-ui/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        window.SetValueFeeAndCostType = function (Value1, Value2) {
            document.getElementById("<%= hddFeeAndCostTypeID.ClientID %>").value = Value1;
            document.getElementById("<%= txtFeeAndCostTypeName.ClientID %>").value = Value2;
        };
        window.SetValueOrgFeeAndCostType = function (Value1, Value2) {
            document.getElementById("<%= hddOrgFeeAndCostTypeID.ClientID %>").value = Value1;
            document.getElementById("<%= txtFeeAndCostTypeNM.ClientID %>").value = Value2;
        };
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container-custom">
        <div class="table_master">
            <div class="colbtnConfirm">
                <asp:Button ID="btnCONFIRM" runat="server" Text="<%$Resources:ifrsButton,CONFIRM%>"
                    SkinID="NormalButton" onclick="btnCONFIRM_Click" />
            </div>
                    <asp:PlaceHolder ID="form_control" runat="server">
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblDataType" runat="server" Text="<%$Resources:ifrsField,DATA_TYPE%>"></asp:Label>&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <asp:RadioButtonList ID="rbtDataType" runat="server" RepeatDirection="Horizontal">
                                    <asp:ListItem Text="<%$Resources:ifrsField,TransactionCosts%>" Value="1"/>
                                    <asp:ListItem Text="<%$Resources:ifrsField,TransactionFees%>" Value="2" />
                                </asp:RadioButtonList>
                                <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqDataType" runat="server"/>
                            </div>
                        </div>
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblSourceDataID" runat="server" Text="<%$Resources:ifrsField,SourceData%>" />&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <asp:DropDownList ID="ddlSourceDataID" runat="server" SkinID="DropDownListWithNoColor" />
                                <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqSourceDataID" runat="server"/>
                            </div>
                        </div>
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblFeeAndCostTypeName" runat="server" Text="<%$Resources:ifrsField,SystemKrmType%>" />&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <cc1:TextboxAutoComplete ID="txtFeeAndCostTypeName" SkinID="TextBoxWithNoColor" runat="server"/>&nbsp;
                                <asp:Button ID="btnFeeAndCostTypeName" runat="server" SkinID="NormalButton" Text="<%$Resources:ifrsButton,POPUP%>" CausesValidation="False" />
                                <asp:HiddenField ID="hddFeeAndCostTypeID" runat="server" />
                                <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqFeeAndCostTypeName" runat="server"/>
                            </div>
                        </div>
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblFeeAndCostTypeNM" runat="server" Text="<%$Resources:ifrsField,SourceType%>" />&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <cc1:TextboxAutoComplete ID="txtFeeAndCostTypeNM" SkinID="TextBoxWithNoColor" runat="server"/>&nbsp;
                                <asp:Button ID="btnFeeAndCostTypeNM" runat="server" SkinID="NormalButton" Text="<%$Resources:ifrsButton,POPUP%>" CausesValidation="False" />
                                <asp:HiddenField ID="hddOrgFeeAndCostTypeID" runat="server" />
                                <span class="red">*</span>
                                <asp:RequiredFieldValidator ID="reqFeeAndCostTypeNM" runat="server"/>
                            </div>
                        </div>
                    </asp:PlaceHolder>
            <div class="colbtn">
                <div class="center">
                    <asp:Button ID="btnSAVE" runat="server" Text="<%$Resources:ifrsButton,SAVE%>" 
                        SkinID="NormalButton" onclick="btnSAVE_Click" />&nbsp;
                    <asp:Button ID="btnCANCEL" runat="server" Text="<%$Resources:ifrsButton,CANCEL%>"
                        SkinID="NormalButton" onclick="btnCANCEL_Click" />
                </div>
            </div>
        </div>
    </div>
</asp:Content>
